Inferring Use Cases from Unit Testing
نویسندگان
چکیده
We present techniques for analyzing score matrices of unit tests outcomes from snapshots of CS2 student code throughout the development cycle. This analysis includes a technique for estimating the number of fundamentally different features in the unit tests, as well as a survey of which algorithms can best match human intuition when grouping tests into related clusters. Unlike previous investigations into topic clustering of score matrices, we successfully identify algorithms that perform with good accuracy on this task. We also discuss the data gathered by the Marmoset system, which has been used to collect over 100,000 snapshots of student programs and associated test results.
منابع مشابه
A Study of Testing Mean Reversion in the Inflation Rate of Iran’s Provinces: New Evidence Using Quantile Unit Root Test
T his paper is to examine the mean reverting properties of inflation rates for Iran’s 25 provinces over the period from 1990:4 to 2017:7. To the end, we use various conventional univariate linear and non-linear unit root tests, as well as quantile unit root test by Koenker and Xiao (2004). Results of conventional unit root tests indicate that the null hypothesis of the unit root test...
متن کاملSpecification-Driven Unit Test Generation for Java Generic Classes
Several approaches exist to automatically derive test cases that check the conformance of the implementation of abstract data types (ADTs) with respect to their specification. However, they lack support for the testing of implementations of ADTs defined by generic classes. In this paper, we present a novel technique to automatically derive, from specifications, unit test cases for Java generic ...
متن کاملPositive impact of stroke unit establishment on patient recovery in Firoozgar hospital
Background: Firoozgar Comprehensive Stroke Center started up as the first organized care unit in the country in 2014; this study was performed to investigate quality indicators such as reduction in mortality, morbidity and hospital stay. Methods: Two groups of ischemic stroke patients were compared. The first group had been admitted in general neurology ward (non-stroke unit patients)...
متن کاملSystematic Unit Testing in a Read-eval-print Loop
Lisp programmers constantly carry out experiments in a read-eval-print loop. The experimental activities convince the Lisp programmers that new or modified pieces of programs work as expected. But the experiments typically do not represent systematic and comprehensive unit testing efforts. Rather, the experiments are quick and dirty one shot validations which do not add lasting value to the sof...
متن کاملTest Case Generation Based on Use case and Sequence Diagram
We present a comprehensive test case generation technique from UML models. We use the features in UML 2.0 sequence diagram including conditions, iterations, asynchronous messages and concurrent components. In our approach, test cases are derived from analysis artifacts such as use cases, their corresponding sequence diagrams and constraints specified across all these artifacts. We construct Use...
متن کامل